package com.zhuzhumail.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.PreparedStatement;
import java.util.Date;

@Data
@AllArgsConstructor
public class KqClockTimeVo implements Serializable {
    /**
     * 规定的上班时间
     */
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="HH:mm:ss")
    private Date workTime;
    /**
     * 规定的下班时间
     */
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="HH:mm:ss")
    private Date leaveTime;
    private String weekdays;
}
